//
//  FriendNet.h
//  SportSocial
//
//  Created by yull on 14/12/24.
//  Copyright (c) 2014年 yull. All rights reserved.
//

#import "BaseNet.h"

@interface FriendNet : BaseNet

+ (AFHTTPRequestOperation *)getFriendListWithSuccessBlock:(httpSuccessBlock)successBlock
                                                failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)deleteFriendWithFriendId:(UInt64)friendId
                                        successBlock:(httpSuccessBlock)successBlock
                                           failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)applyAddFriendWithUserId:(UInt64)userId
                                        successBlock:(httpSuccessBlock)successBlock
                                           failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)agreeFriendWithUserId:(UInt64)userId
                                              key:(NSString *)key
                                        successBlock:(httpSuccessBlock)successBlock
                                           failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)refuseFriendWithUserId:(UInt64)userId
                                               key:(NSString *)key
                                        successBlock:(httpSuccessBlock)successBlock
                                           failBlock:(httpFailBlock)failBlock;
@end
